package android.Dominion.Graph;

import android.Dominion.GameBLL.Player;

public class MessageNode extends GraphNode
{
	private MessageType type;
	private Player from;
	private Player to;
	
	private boolean responseRequired;
	private int respondToNode;
	
	
	public void setType(MessageType type)
	{
		this.type = type;
	}

	public MessageType getType()
	{
		return type;
	}

	public void setFrom(Player from)
	{
		this.from = from;
	}

	public Player getFrom()
	{
		return from;
	}

	public void setTo(Player to)
	{
		this.to = to;
	}

	public Player getTo()
	{
		return to;
	}

	public void setResponseRequired(boolean responseRequired)
	{
		this.responseRequired = responseRequired;
	}

	public boolean isResponseRequired()
	{
		return responseRequired;
	}

	public void setRespondToNode(int respondToNode)
	{
		this.respondToNode = respondToNode;
	}

	public int getRespondToNode()
	{
		return respondToNode;
	}
}
